package com.bijinihaitan.lyh;
/**
 * @ClassName jellyfish
 * @Author lyh
 * @Description 在水母田等着被海绵宝宝和派大星抓的水母
 * @date 2022.03.21
 * @WINNIE 2.0
 */
public class Jellyfish {
    private String id;
    private String name;
    private String color;
    private String motto;
    private String food;


    public String getId() {

        return id;
    }

    public void setId(String id) {

        this.id = id;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }
    public String getColor() {
        return color;
    }

    public void setColor(String color) {

        this.color = color;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;

    }
    @Override
    public String toString() {
        return "动物类名：jellyfish{" +
                "动物id：" + id + '\'' +
                "动物名称:" + name + '\'' +
                "动物颜色：" + color + '\'' +
                "座右铭：" + motto + '\'' +
                "动物的主食：" + food + '\'' +
                '}';
    }
    public void name(){
        System.out.println("水母的灰");
    }
    public  void id(){
        System.out.println("0000000");
    }
    public  void color(){
        System.out.println("无色透明");
    }
    public void motto(){
        System.out.println("你怎么会知道水母没有梦想呢，对吧");
    }
    public void food(){
        System.out.println("爆炒小年糕");
    }
}